package org.istabg.camel;

import org.apache.camel.Exchange;
import org.apache.camel.Processor;

public class Translator implements Processor {

	@Override
	public void process(Exchange exchange) throws Exception {
		String input = exchange.getIn().getBody(String.class);
		String output = input.toUpperCase();
		exchange.getIn().setBody(output, String.class);
	}

}
